package cn.kgc.service;

import cn.kgc.bean.dto.UserDto;
import cn.kgc.bean.pojo.CUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<CUser> {
    //用户登录
    CUser getUserInfo(String username);
    UserDto getInfo(String username);
    //根据用户查询角色信息
    List<String> getUserRoleInfo(String username);
    //获取用户角色权限信息
    List<String> getUserPermissionInfoMapper(String username);
}
